server {
    listen {{ internal_port }};
    server_name {{ server_name }};
    root {{ dir_path }}/{{ dir_name }};
    location / {
        index index.php;
    }
    location ~ \.php$ {
        include /etc/nginx/fastcgi_params;
        fastcgi_pass unix:{{ sock_path }};
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
} 